#ifndef __PUBLIC__POSIX_OSAPI_H__
#define __PUBLIC__POSIX_OSAPI_H__

/*PROTECTED REGION ID(public_posix_h) ENABLED START*/


#include <stdio.h>
#include <stdlib.h>

#include <time.h>
#include <sys/time.h>

#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>

#include <sys/resource.h>

//#ifdef __cplusplus

//extern "C" {
#include <semaphore.h>
#include <pthread.h>
//};

//#endif


#define NSECS_PER_SEC 1000000000
#define CLICKS_PER_SEC  1000000
#define CLICKS_PER_USEC 1
#include <semaphore.h>
#include <pthread.h>

#ifdef __cplusplus
#include <iostream>
#endif

#define intr_disable()
#define intr_enable()
#define intr_capture(x, y)
#define intr_restore(x)



/*PROTECTED REGION END*/

#endif // __PUBLIC__POSIX_H__
